package com.zl.tcbnewcar.model;

import java.util.Date;
import java.util.List;

/**
 * 二手信息(CAR_GROCERIES)
 * 
 * @author szc
 * @version 1.0.0 2017-08-06
 */
public class CarGrocericeEntity implements java.io.Serializable {

	/** 版本号 */
	private static final long serialVersionUID = -8405368582894688028L;

	/** 自增主键ID */
	private Integer id;
	
	/** 二手类型*/ 
	private Integer grocType;

	/** 二手标题 */
	private String grocTitle;

	/** 二手内容 */
	private String grocContext;

	/** 二手时间 */
	private Date grocDate = new Date();
	
	/** 联系人ID */
	private Integer grocUserId;

	/** 城市ID */
	private Integer grocCityId;
	
	/** 地址信息 */
	private String grocAddress;
	
	/** 宣传图片 */
	private String grocImg;
	
	/** 二手状态 0：正常，1：已售，2：下架 */
	private Integer grocState=0;
	
	 /** 访问量 */
    private Integer grocBrowse=0;
    
    /** 转发量 */
    private Integer grocForWard=0;

	 /** 标签-实体Bean */
    private CarUserEntity carUser;
    
    /** 标签-实体Bean */
    private CarAreaCitysEntity city;

	/**二手商品标签*/
    private TagEntity carDictionary;

    /** 实体List<Bean> 媒体资源*/
    private List<CarGrocericeResourceEntity> resources;
    
    /** 时间 */
	private String grocDateStr;
	
	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getGrocType() {
		return grocType;
	}

	public void setGrocType(Integer grocType) {
		this.grocType = grocType;
	}

	public String getGrocTitle() {
		return grocTitle;
	}

	public void setGrocTitle(String grocTitle) {
		this.grocTitle = grocTitle;
	}

	public String getGrocContext() {
		return grocContext;
	}

	public void setGrocContext(String grocContext) {
		this.grocContext = grocContext;
	}

	public Date getGrocDate() {
		return grocDate;
	}

	public void setGrocDate(Date grocDate) {
		this.grocDate = grocDate;
	}

	public Integer getGrocUserId() {
		return grocUserId;
	}

	public void setGrocUserId(Integer grocUserId) {
		this.grocUserId = grocUserId;
	}

	public Integer getGrocCityId() {
		return grocCityId;
	}

	public void setGrocCityId(Integer grocCityId) {
		this.grocCityId = grocCityId;
	}

	public String getGrocAddress() {
		return grocAddress;
	}

	public void setGrocAddress(String grocAddress) {
		this.grocAddress = grocAddress;
	}

	public String getGrocImg() {
		return grocImg;
	}

	public void setGrocImg(String grocImg) {
		this.grocImg = grocImg;
	}

	public Integer getGrocState() {
		return grocState;
	}

	public void setGrocState(Integer grocState) {
		this.grocState = grocState;
	}

	public Integer getGrocBrowse() {
		return grocBrowse;
	}

	public void setGrocBrowse(Integer grocBrowse) {
		this.grocBrowse = grocBrowse;
	}

	public Integer getGrocForWard() {
		return grocForWard;
	}

	public void setGrocForWard(Integer grocForWard) {
		this.grocForWard = grocForWard;
	}

	public CarUserEntity getCarUser() {
		return carUser;
	}

	public void setCarUser(CarUserEntity carUser) {
		this.carUser = carUser;
	}

	public CarAreaCitysEntity getCity() {
		return city;
	}

	public void setCity(CarAreaCitysEntity city) {
		this.city = city;
	}

	public List<CarGrocericeResourceEntity> getResources() {
		return resources;
	}

	public void setResources(List<CarGrocericeResourceEntity> resources) {
		this.resources = resources;
	}

	public TagEntity getCarDictionary() {
		return carDictionary;
	}

	public void setCarDictionary(TagEntity carDictionary) {
		this.carDictionary = carDictionary;
	}

	public String getGrocDateStr() {
		return grocDateStr;
	}

	public void setGrocDateStr(String grocDateStr) {
		this.grocDateStr = grocDateStr;
	}

}